<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>海创数字 | 日志管理</title>
<link href="__PUBLIC__/css/bootstrap.min.css" rel="stylesheet">
<link href="__PUBLIC__/font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="__PUBLIC__/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
<link href="__PUBLIC__/css/animate.css" rel="stylesheet">
<link href="__PUBLIC__/css/style.css" rel="stylesheet">
<link href="__PUBLIC__/css/validationEngine.jquery.css">
<link href="__PUBLIC__/css/plugins/laydate/need/laydate.css">
</head>
<body class="skin-1">
	<div id="wrapper">
		<include file="default:left" />
		<div id="page-wrapper" class="gray-bg">
			<include file="default:header" />
			<div class="row wrapper border-bottom white-bg page-heading">
				<div class="col-lg-10">
					<h2>日志管理</h2>
					<ol class="breadcrumb">
						<li><a href="?c=index&a=index">管理平台</a></li>
						<li><a href="?c=logmanage&a=index">日志管理</a></li>
						<li class="active"><strong>日志管理</strong></li>
					</ol>
				</div>
				<div class="col-lg-2"></div>
			</div>
			<div class="wrapper wrapper-content">
				<div class="row">
					<div class="col-lg-12">
						<div class="ibox float-e-margins">
							<div class="ibox-content">
								<div class="col-sm-12">
									<div class="row">
										<div class="col-sm-4 col-sm-offset-4">
										<form action="" class="pull-left text-left m-b m-t">										
											<div class="form-group" id="data_5">
												<div class="input-daterange input-group" id="datepicker">
                                    				<input class="input-md form-control laydate-icon-danlan" id="start" name="start" value="{$start_time}" placeholder="开始时间" type="text">
                                    				<span class="input-group-addon" style="background: #F1F3F5;">to</span>
                                   					<input class="input-md form-control laydate-icon-danlan" id="end" name="end" value="{$end_time}" placeholder="结束时间" type="text">
                                				</div>
                            				</div>
											<div class="input-group">
												<input type="text" class="input-md form-control" placeholder="用户名" value="{$user_name}" id="user_name" />
												<span class="input-group-btn">
													<button class="btn btn-primary btn-md selbtn" type="button">
														<i class="fa fa-search"></i> 查询
													</button>
												</span>
											</div>
											
										</form>
										</div>
									</div>
								</div>
								<div class="dataTables_wrapper form-inline dt-bootstrap"
									id="editable_wrapper">									
									<div class="row">
										<div class="col-sm-12">
											<table
												class="table table-striped table-hover dataTables-example account_tab">
												<thead>
													<tr style="padding: 8px;">
														<th width="10%">账号</th>
														<th width="20%">用户名</th>
														<th width="20%">权限组</th>
														<th width="25%">行为</th>
														<th width="25%">时间</th>														
													</tr>
												</thead>
												<tbody>	
													<empty name="logArray">
														<tr>
															<td colspan="5" style="text-align: center;">无日志信息</td>
														</tr>
													<else />
														<volist name="logArray" id="la">												
															<tr>
																<td>{$la.user_name}</td>
																<td>{$la.real_name}</td>
																<td>{$la.group_name}</td>
																<td>{$la.behavior}</td>
																<td>{$la.create_time}</td>																											
															</tr>
														</volist>
													</empty>
												</tbody>
											</table>
										</div>
									</div>
									<div class="row">
										<div
											style="text-align: center; margin-top: 20px; list-style: none">{$page}</div>
									</div>
								</div>

							</div>
						</div>
					</div>
				</div>
				<include file="default:footer" />
			</div>
		</div>
		<!-- Mainly scripts -->
		<script src="__PUBLIC__/js/jquery-2.1.1.js"></script>
		<script src="__PUBLIC__/js/bootstrap.min.js"></script>
		<script src="__PUBLIC__/js/plugins/metisMenu/jquery.metisMenu.js"></script>
		<script src="__PUBLIC__/js/v_post.js"></script>
		
		<script src="__PUBLIC__/js/plugins/iCheck/icheck.min.js"></script>
		<script src="__PUBLIC__/js/plugins/datapicker/bootstrap-datepicker.js"></script>
		<script src="__PUBLIC__/js/plugins/daterangepicker/daterangepicker.js"></script>
		<script src="__PUBLIC__/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
		
		<script src="__PUBLIC__/js/logmanage/index.js"></script>
		<script src="__PUBLIC__/js/plugins/jeditable/jquery.jeditable.js"></script>
		<script src="__PUBLIC__/js/menu.js"></script>
		<script src="__PUBLIC__/js/plugins/laydate/laydate.js"></script>
		<script>
			var start = {
			    elem: '#start',
			    format: 'YYYY-MM-DD',
			    max: '2099-06-16 23:59:59', //最大日期
			    istime: false,
			    istoday: false,
			    choose: function(datas){
			         end.min = datas; //开始日选好后，重置结束日的最小日期
			         end.start = datas //将结束日的初始值设定为开始日
			    }
			};
			var end = {
			    elem: '#end',
			    format: 'YYYY-MM-DD',
			    max: '2099-06-16 23:59:59',
			    istime: false,
			    istoday: false,
			    choose: function(datas){
			        start.max = datas; //结束日选好后，重置开始日的最大日期
			    }
			};
			laydate(start);
			laydate(end);
		</script>
		
		<script src="__PUBLIC__/js/inspinia.js"></script>
		<script src="__PUBLIC__/js/plugins/pace/pace.min.js"></script>
		<!-- jQuery UI -->		
			</body>
			</html>
		